package com.eascs.banknet.boc.service;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

import com.eascs.banknet.boc.base.BOCUtil;
import com.eascs.banknet.boc.dao.LoanapplyDao;
import com.eascs.banknet.boc.net.BOCNetService;
import com.eascs.banknet.log.entity.LogEntity;
import com.eascs.banknet.log.service.LogService;
import com.eascs.banknet.service.BankService;

public abstract class BOCAbstractService implements BankService {
	@Autowired
	protected LogService logService;
	
	@Autowired
	@Qualifier("bocNetService")
	protected BOCNetService bocNetService;
	
	@Autowired
	protected LoanapplyDao loanapplyDao;
	
	@Autowired
	protected BOCUtil bocUtil;
	
	public abstract Map<String, String> dowork();
	
	@Override
	public Object operate() {
		return dowork();
	}
	
	public abstract LogEntity initLogData();
}
